# 创建字符串
s1 = 'hello'
print(s1)

s2 = "hello"
print(s2)

s3 = '''2024
hello
world'''
print(s3)

s4 = "It's a hat"
print(s4)

s5 = '1231\'"6666'
print(s5)

# 字符串拼接
print('---------------')
print(s1 + s3)
n = 5
#print(s1 + n) #注意字符串与数字不能相加

# 字符串乘法
print('--------字符串乘法--------')
print(s1 * 2)
print('*' * 20)
print(3 * 'h')